< previous page page_197 next page >

Page 197
This allows you to display large numbers of controls to the user without cluttering up the form.
An SSTab control acts like the dividers in a notebook. By using the SSTab control, you can define multiple pages for the same area of a window or dialog box in your application. The properties of this control allow you to do the following:
Set the number of tabs that are displayed
Organize the tabs into one or more rows
Assign the text caption for each tab
Display a graphic on each tab
Set the style of the tabs
Size the tabs
When using this control, you must add it to the form before you start placing the controls you want into the tab area. Each tab can contain its own unique set of controls for the user to interact with.
Enhancing the Forms
When designing your forms, other features that you can add to them will make them even easier for the user to work with. In this section, you will see two such features that are supported either by Visual Basic or by writing program code.
Knowing what a command button does or what type of input a text box takes is very important when using the application. The ToolTipText property is supported by most Visual Basic controls, and by many third-party controls as well. This property contains text that is displayed whenever the user positions the mouse over the control. In addition, based on the position of the mouse, you can also display information in an area of a status bar.
Another feature that you can add to your application forms is the ability to have shortcut keys defined to input objects, such as text boxes and list boxes. You accomplish this action by using a combination of controls and program code. It lets users go directly to a particular field with which they want to work.
ToolTips
Over the years, application developers have sought a way to tell the user what function or feature a particular toolbar button or command button performs, or what type of input is required for a selected text box. There have many different solutions to this issue. One solution used for several years was to display descriptive text in a status line or bar at the

 
< previous page page_197 next page >

If you like this book, buy it!